name: testsPCE run_id: commands[0] env LANG: en_US.UTF-8 env HOME: /home/jenkins env PATH: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/testsPCE/bin:/opt/pyenv/bin:/tmp/venv-GocA/bin:/opt/pyenv/shims:/home/jenkins/.local/bin:/home/jenkins/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/puppetlabs/bin env PYTHONHASHSEED: 838161767 env PIP_DISABLE_PIP_VERSION_CHECK: 1 env PYTHONIOENCODING: utf-8 env PIP_EXTRA_INDEX_URL: https://gitlab.com/api/v4/projects/33090323/packages/pypi/simple env TOX_ENV_NAME: testsPCE env TOX_WORK_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox env TOX_ENV_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/testsPCE env VIRTUAL_ENV: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/testsPCE metadata pid: 49084 cwd: /w/workspace/transportpce-tox-verify-transportpce-master/tests allow: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/testsPCE/bin/*:launch_tests.sh cmd: ./launch_tests.sh pce exit_code: 1 pytest -q transportpce_tests/pce/test01_pce.py .................... [100%] 20 passed in 130.27s (0:02:10) pytest -q transportpce_tests/pce/test02_pce_400G.py F.F.F.F.F [100%] =================================== FAILURES =================================== ______________ TransportPCE400Gtesting.test_01_load_port_mapping _______________ self = def test_01_load_port_mapping(self): response = test_utils.post_portmapping(self.port_mapping_data) > self.assertIn(response['status_code'], (requests.codes.created, requests.codes.no_content)) E AssertionError: 401 not found in (201, 204) transportpce_tests/pce/test02_pce_400G.py:121: AssertionError ---------------------------- Captured stdout setup ----------------------------- sample files content loaded starting OpenDaylight... starting KARAF TransportPCE build... Searching for pattern 'Transportpce controller started' in karaf.log... Pattern found! OpenDaylight started ! ----------------------------- Captured stdout call ----------------------------- execution of test_01_load_port_mapping ________ TransportPCE400Gtesting.test_03_path_computation_400G_xpdr_bi _________ self = def test_03_path_computation_400G_xpdr_bi(self): response = test_utils.transportpce_api_rpc_request('transportpce-pce', 'path-computation-request', self.path_computation_input_data) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/pce/test02_pce_400G.py:135: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_03_path_computation_400G_xpdr_bi ________ TransportPCE400Gtesting.test_05_path_computation_OTUC4_xpdr_bi ________ self = def test_05_path_computation_OTUC4_xpdr_bi(self): self.path_computation_input_data["service-name"] = "service-OTUC4" self.path_computation_input_data["service-a-end"]["service-format"] = "OTU" self.path_computation_input_data["service-a-end"]["tx-direction"] =\ {"port": {"port-device-name": "XPDR-A2-XPDR2"}} self.path_computation_input_data["service-z-end"]["service-format"] = "OTU" self.path_computation_input_data["service-z-end"]["tx-direction"] =\ {"port": {"port-device-name": "XPDR-C2-XPDR2"}} response = test_utils.transportpce_api_rpc_request('transportpce-pce', 'path-computation-request', self.path_computation_input_data) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/pce/test02_pce_400G.py:180: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_05_path_computation_OTUC4_xpdr_bi ________ TransportPCE400Gtesting.test_07_path_computation_ODUC4_xpdr_bi ________ self = def test_07_path_computation_ODUC4_xpdr_bi(self): self.path_computation_input_data["service-name"] = "service-ODUC4" self.path_computation_input_data["service-a-end"]["service-format"] = "ODU" self.path_computation_input_data["service-a-end"]["tx-direction"] = \ {"port": {"port-device-name": "XPDR-A2-XPDR2"}} self.path_computation_input_data["service-z-end"]["service-format"] = "ODU" self.path_computation_input_data["service-z-end"]["tx-direction"] = \ {"port": {"port-device-name": "XPDR-C2-XPDR2"}} response = test_utils.transportpce_api_rpc_request('transportpce-pce', 'path-computation-request', self.path_computation_input_data) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/pce/test02_pce_400G.py:225: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_07_path_computation_ODUC4_xpdr_bi ________ TransportPCE400Gtesting.test_09_path_computation_100G_xpdr_bi _________ self = def test_09_path_computation_100G_xpdr_bi(self): self.path_computation_input_data["service-name"] = "service-100GE" self.path_computation_input_data["service-a-end"]["service-rate"] = "100" self.path_computation_input_data["service-a-end"]["service-format"] = "Ethernet" self.path_computation_input_data["service-a-end"]["tx-direction"] = \ {"port": {"port-device-name": "XPDR-A2-XPDR2", "port-name": "XPDR2-CLIENT1"}} self.path_computation_input_data["service-z-end"]["service-rate"] = "100" self.path_computation_input_data["service-z-end"]["service-format"] = "Ethernet" self.path_computation_input_data["service-z-end"]["tx-direction"] = \ {"port": {"port-device-name": "XPDR-C2-XPDR2", "port-name": "XPDR2-CLIENT1"}} self.path_computation_input_data["service-z-end"]["service-format"] = "ODU" response = test_utils.transportpce_api_rpc_request('transportpce-pce', 'path-computation-request', self.path_computation_input_data) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/pce/test02_pce_400G.py:263: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_09_path_computation_100G_xpdr_bi --------------------------- Captured stdout teardown --------------------------- all processes killed =========================== short test summary info ============================ FAILED transportpce_tests/pce/test02_pce_400G.py::TransportPCE400Gtesting::test_01_load_port_mapping FAILED transportpce_tests/pce/test02_pce_400G.py::TransportPCE400Gtesting::test_03_path_computation_400G_xpdr_bi FAILED transportpce_tests/pce/test02_pce_400G.py::TransportPCE400Gtesting::test_05_path_computation_OTUC4_xpdr_bi FAILED transportpce_tests/pce/test02_pce_400G.py::TransportPCE400Gtesting::test_07_path_computation_ODUC4_xpdr_bi FAILED transportpce_tests/pce/test02_pce_400G.py::TransportPCE400Gtesting::test_09_path_computation_100G_xpdr_bi 5 failed, 4 passed in 38.25s standard error: which: no pytest-3 in (/w/workspace/transportpce-tox-verify-transportpce-master/.tox/testsPCE/bin:/opt/pyenv/bin:/tmp/venv-GocA/bin:/opt/pyenv/shims:/home/jenkins/.local/bin:/home/jenkins/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/puppetlabs/bin)